reverse pyramid pattern python